package 编程题;

import java.util.*;

public class Num_8_3_02{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long[] arr = new long[91];
        arr[1] = 1;
        arr[2] = 2;
        for (int i = 3; i <= 90; i++) {
            arr[i] = arr[i - 1] + arr[i - 2];
        }

        while(sc.hasNextLine()){

            String str = sc.nextLine();

            int n = str.length();
            for (int i = 0; i < n; i++) {
                if(str.charAt(i) >= '0' && str.charAt(i) <= '9'){
                    int tmp = 0;
                    while(i < str.length() && str.charAt(i) != '<'){
                        tmp *= 10;
                        tmp += (int)(str.charAt(i) - '0');
                        i ++;
                    }

                    System.out.print(arr[tmp]);

                    if(i != str.length()){
                        System.out.print("<br/>");
                    }

                i += 3;
                }
                i ++;

            }

            System.out.println();

        }
    }

}